//
//  NSMutableArray+Covert.m
//  08-homeWork
//
//  Created by 402030900@qq.com on 16/7/13.
//  Copyright © 2016年 402030900@qq.com. All rights reserved.
//

#import "NSMutableArray+Covert.h"

@implementation NSMutableArray (Covert)
-(NSMutableArray *)Convert:(NSMutableArray *)arr{
   
    NSMutableArray * tempArray  = [NSMutableArray array];
//    for (NSInteger i = 0,j = self.count -1; i < j; i ++,j--) {
//        temp = self[i];
//        self[i] = self[j];
//         self[j] = temp;
//       [ tempArray addObject:self[i] ];
//    }
    for (NSString * temp in [arr reverseObjectEnumerator ]) {
        [tempArray addObject:temp];
    }
    return tempArray;
}
@end
